package com.wtwd.campus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author zdl
 * @since 2021-06-30
 */
@ApiModel(value="Grade对象", description="")
public class Grade extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "年级id")
    @TableId(value = "grade_id", type = IdType.AUTO)
    private Integer gradeId;

    @ApiModelProperty(value = "年级名称")
    private String gradeName;

    @ApiModelProperty(value = "学校id")
    private Integer schoolId;


    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    @Override
    public String toString() {
        return "Grade{" +
        "gradeId=" + gradeId +
        ", gradeName=" + gradeName +
        ", schoolId=" + schoolId +
        "}";
    }
}
